package ee.tlnk.dao;

import java.sql.Date;
import java.sql.Time;
import java.util.List;

import ee.tlnk.model.RoomModel;

/**
 * The Interface RoomDAO.
 */
public interface RoomDAO {

	/**
	 * Adds the room.
	 *
	 * @param order the order
	 */
	public void addRoom(RoomModel order);

	/**
	 * List rooms.
	 *
	 * @return the list
	 */
	public List<RoomModel> listRooms();

	/**
	 * List validated rooms.
	 *
	 * @param day the day
	 * @param begin the begin
	 * @param end the end
	 * @return the list
	 */
	public List<RoomModel> listValidatedRooms(Date day, Time begin, Time end);

	/**
	 * Removes the room.
	 *
	 * @param id the id
	 */
	public void removeRoom(Integer id);
}